<!DOCTYPE html>
<html lang="zh">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, height=device-height, user-scalable=1, minimum-scalabe=1, maximum-scalable=1">
  <title>测试App</title>
  <script>
    !function(n,e){const t=function(){e.documentElement.style.fontSize=window.innerWidth/10+"px"},i=function(){e.getElementById("root").style.minHeight=window.innerHeight+"px"};t(),n.addEventListener("DOMContentLoaded",function(){i()}),n.addEventListener("resize",function(){t(),i()})}(window,document);
  </script>
</head>
<body>
  <div id="root"></div>
</body>
</html>